#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "gui/riskmeasuretablemodel.h"
#include "gui/riskmeasureeditor.h"

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow {
    Q_OBJECT
public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

protected:
    void changeEvent(QEvent *e);

public slots:
    void menuOpen();

signals:
    void riskMeasureLoaded(bool successfully);

private:
    Ui::MainWindow *ui;
    RiskMeasureTableModel riskMeasureTableModel;
    RiskMeasureEditor *riskmeasureEditor;
};

#endif // MAINWINDOW_H
